<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">

	<ui:composition template="/faces/site/xhtml/templates/template.xhtml">
		<ui:define name="body-imobiliaria">		
			<table id="complex-main-body" cellpadding="0" cellspacing="0">
				<tbody>
					<tr>
						<td id="menu-body" valign="top">
							<ui:insert name="menu-left-imobiliaria">
								<ui:include src="/faces/site/xhtml/templates/menu-left.xhtml" />
							</ui:insert>							
						</td>						
						<td id="content-body">							
							
							<table cellpadding="0" cellspacing="0" width="90%" align="center">
								<tr>
									<td><p:spacer height="20px"/></td>
								</tr>
								<tr>
									<td>
										<p:panel>  
											<table cellpadding="0" cellspacing="0" width="100%">
												<tr>
													<td align="center"><b><h:outputText value="#{msg['body.header.menu.localizacao']}"/></b></td>
												</tr>
												<tr>
													<td><p:spacer height="20px"/> </td>
												</tr>
												<tr>
													<td>
														<p:gmap center="#{searchImovelController.cliente.localizacao}" zoom="15" model="#{searchImovelController.cliente.mapModel}" type="terrain" 
															style="width:680px;height:500px" mapTypeControl="false" navigationControl="false" />
													</td>
												</tr>
												<tr>
													<td><p:spacer height="20px"/> </td>
												</tr>
												<tr>
													<td>
														<h:outputText value="#{searchImovelController.cliente.endereco.municipio.nome}" /><p:spacer width="2px" />/<p:spacer width="2px" /><h:outputText value="#{searchImovelController.cliente.endereco.municipio.estado.sigla}" /><br/>  
														<h:outputText value="#{searchImovelController.cliente.endereco.rua}" /> - <h:outputText value="#{searchImovelController.cliente.endereco.numero}" />
														<p:spacer width="5px" />|<p:spacer width="5px" /><h:outputText value="#{searchImovelController.cliente.endereco.bairro}" />
													</td>
												</tr>												
											</table>	
										    
										</p:panel>  										
									</td>
								</tr>
							</table>																
							
						</td>
					</tr>
				</tbody>	
			</table>		
		</ui:define>
	</ui:composition>
</html>